<template>
  <div>
    <h3>视频信息</h3>
    <p>视频id为:{{ id }}</p>
    <nav>
      <router-link :to="{ name: 'VideoInfo1', params: { id: 20 } }"
        >VideoInfo1</router-link
      >
      |
      <router-link :to="{ name: 'VideoInfo2', params: { id: 20 } }"
        >VideoInfo2</router-link
      >
    </nav>
    <router-view />
  </div>
</template>
<script>
export default {
  name: "VideoView",
  props: ["id"],
};
</script>
<style></style>
